package cn.com.greatwall.system.modules.quartz.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import cn.com.greatwall.system.modules.quartz.domain.QuartzJob;

/**
 * @Author herw
 * @Time 2020-11-04 13:38:07
 * @Version 1.0
 * @Description: TODO(用一句话描述该文件做什么)
 */
public interface QuartzJobRepository extends JpaRepository<QuartzJob, Long>, JpaSpecificationExecutor<QuartzJob> {
    /**
     * 查询启用的任务
     * @return List /
     */
    List<QuartzJob> findByIsPauseIsFalse();
}
